//
//  BiliServiceRow.swift
//  Landmarks
//
//  Created by 温哲 on 2021/2/10.
//

import SwiftUI

struct BiliServiceRow: View {
    var model: CommonModel

    var body: some View {
        HStack {
            Image(systemName: model.image).foregroundColor(.red)
            Text(model.name)
                .padding(.leading, 10.0)
            Spacer()
            Text(">")
        }
        .padding(.vertical, 10.0)
        
    }
}

struct BiliServiceRow_Previews: PreviewProvider {
    static var previews: some View {
        BiliServiceRow(model: CommonModel(id: 0, name: "联系客服", image: "star", tipsNum: 0))
    }
}
